/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fss.client;

/**
 *
 * @author hieu
 */
public class ClientUIModelEvent
{
  public static enum EventType
  {
    eQueryResultsReceived,
    eDownloadCompleted,
    eUploadCompleted,
    eDownloadBlockProcessed,
    eUploadBlockProcessed,
    eLostRegistry,
    eLostService
  }

  private EventType type;
  private int transferProgress;

  public ClientUIModelEvent(EventType aType)
  {
    type = aType;
  }

  public EventType getType()
  {
    return type;
  }

  public int getTransferProgress()
  {
    return transferProgress;
  }

  public void setTransferProgress(int aTransferProgress)
  {
    transferProgress = aTransferProgress;
  }
}
